package school.entity;

import java.io.Serializable;
import java.util.Date;

public class Student implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	// 属性和列名对应，名称不要求一致
	// z_b
	private Long stuno, gradeId;
	private String sname, sex, pass, fromcity, qq, telephone, wechat, address;
	private Date brithday, enterdate, lastExam;

	public Long getStuno() {
		return stuno;
	}

	public void setStuno(Long stuno) {
		this.stuno = stuno;
	}

	public Long getGradeId() {
		return gradeId;
	}

	public void setGradeId(Long gradeId) {
		this.gradeId = gradeId;
	}

	public String getSname() {
		return sname;
	}

	public void setSname(String sname) {
		this.sname = sname;
	}

	public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public String getPass() {
		return pass;
	}

	public void setPass(String pass) {
		this.pass = pass;
	}

	public String getFromcity() {
		return fromcity;
	}

	public void setFromcity(String fromcity) {
		this.fromcity = fromcity;
	}

	public String getQq() {
		return qq;
	}

	public void setQq(String qq) {
		this.qq = qq;
	}

	public String getTelephone() {
		return telephone;
	}

	public void setTelephone(String telephone) {
		this.telephone = telephone;
	}

	public String getWechat() {
		return wechat;
	}

	public void setWechat(String wechat) {
		this.wechat = wechat;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public Date getBrithday() {
		return brithday;
	}

	public void setBrithday(Date brithday) {
		this.brithday = brithday;
	}

	public Date getEnterdate() {
		return enterdate;
	}

	public void setEnterdate(Date enterdate) {
		this.enterdate = enterdate;
	}

	public Date getLastExam() {
		return lastExam;
	}

	public void setLastExam(Date lastExam) {
		this.lastExam = lastExam;
	}

	@Override
	public String toString() {
		return "Student [stuno=" + stuno + ", gradeId=" + gradeId + ", sname="
				+ sname + ", sex=" + sex + ", pass=" + pass + ", fromcity="
				+ fromcity + ", qq=" + qq + ", telephone=" + telephone
				+ ", wechat=" + wechat + ", address=" + address + ", brithday="
				+ brithday + ", enterdate=" + enterdate + ", lastExam="
				+ lastExam + "]";
	}

}
